import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SPublicMiniPlayer } from "../Public/SPublicMiniPlayer";
type int = number;
//class SRedEnvelopePlayerRankInfo
    
    export  class SRedEnvelopePlayerRankInfo
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.miniPlayer.__write(arg1);
            arg1.writeInt(this.outEnvNum);
            arg1.writeInt(this.outGoldNum);
            arg1.writeInt(this.inEnvNum);
            arg1.writeInt(this.inGoldNum);
            arg1.writeInt(this.sendRank);
            arg1.writeInt(this.receiveRank);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.miniPlayer = new SPublicMiniPlayer();
            this.miniPlayer.__read(arg1);
            this.outEnvNum = arg1.readInt();
            this.outGoldNum = arg1.readInt();
            this.inEnvNum = arg1.readInt();
            this.inGoldNum = arg1.readInt();
            this.sendRank = arg1.readInt();
            this.receiveRank = arg1.readInt();
            return;
        }

        public /* var */miniPlayer: SPublicMiniPlayer;

        public /* var */outEnvNum: int;

        public /* var */outGoldNum: int;

        public /* var */inEnvNum: int;

        public /* var */inGoldNum: int;

        public /* var */sendRank: int;

        public /* var */receiveRank: int;
    }
